package com.javachamp.staticc;

public class Demo01 {

	static int a = 1;

	public static void main(String[] args) {
		if (a == 2) {
			System.out.println(args[0]);
			a = 3;
		}
		if (a == 1) {
			main();
		}
		System.out.println("Hi1");
		System.out.println(new Demo01().main("Hi3"));
	}

	public static void main() {
		a = 2;
		String[] a = new String[10];
		a[0] = "Hi2";
		main(a);
	}

	String main(String s) {
		return s;
	}

}
